//
//  InterventoCD.h
//  InterventixApp
//
//  Created by Diego Falcinelli on 11/10/13.
//
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class ClienteCD, DettaglioCD, UtenteCD;

@interface InterventoCD : NSManagedObject

@property (nonatomic, retain) NSNumber * buffer;
@property (nonatomic, retain) NSNumber * cancellato;
@property (nonatomic, retain) NSNumber * cestinato;
@property (nonatomic, retain) NSNumber * chiuso;
@property (nonatomic, retain) NSNumber * conflitto;
@property (nonatomic, retain) NSDecimalNumber * costo_accessori;
@property (nonatomic, retain) NSDecimalNumber * costo_componenti;
@property (nonatomic, retain) NSDecimalNumber * costo_manodopera;
@property (nonatomic, retain) NSDate * dataora;
@property (nonatomic, retain) NSData * firma;
@property (nonatomic, retain) NSNumber * idintervento;
@property (nonatomic, retain) NSDecimalNumber * importo;
@property (nonatomic, retain) NSNumber * inuse;
@property (nonatomic, retain) NSDecimalNumber * iva;
@property (nonatomic, retain) NSString * modalita;
@property (nonatomic, retain) NSString * motivo;
@property (nonatomic, retain) NSString * nominativo;
@property (nonatomic, retain) NSString * note;
@property (nonatomic, retain) NSNumber * numero;
@property (nonatomic, retain) NSString * prodotto;
@property (nonatomic, retain) NSNumber * revisione;
@property (nonatomic, retain) NSString * rif_fattura;
@property (nonatomic, retain) NSString * rif_scontrino;
@property (nonatomic, retain) NSNumber * saldato;
@property (nonatomic, retain) NSString * tipologia;
@property (nonatomic, retain) NSDecimalNumber * totale;
@property (nonatomic, retain) NSNumber * user;
@property (nonatomic, retain) ClienteCD *cliente;
@property (nonatomic, retain) NSSet *dettagli;
@property (nonatomic, retain) UtenteCD *tecnico;
@end

@interface InterventoCD (CoreDataGeneratedAccessors)

- (void)addDettagliObject:(DettaglioCD *)value;
- (void)removeDettagliObject:(DettaglioCD *)value;
- (void)addDettagli:(NSSet *)values;
- (void)removeDettagli:(NSSet *)values;

@end
